#include <QCoreApplication>
#include <iostream>

class MyCat {
    public:
   bool murr (){if((eat_level>=50) && (happiness>=50))return true;else return false; }
   bool sleep () {if(battarey_level<=20) {return true;battarey_level=100;}; else return false;}
   bool mAav () {if(happiness<=10) return true; else return false;}
   bool goEat (){if (eat_level<=20) {return true;eat_level=100;} else return false;}
   private:
        int battarey_level;
        int eat_level;
        int happiness;

};

int main()
{

    return 0;
}
